/*
* Poppy Game Engine - https://pgetemplate.googlecode.com/svn/
* -----------------------------------------------------------------------
* Licensed under the BSD license, see LICENSE in PSPSDK root for details.
*
* Copyright (c) 2008 Poppy
*/

inline void CFileStream::Seek(int pos, PGE_WHENCE whence)
{
	m_pFile->Seek( pos, whence );
}

inline int  CFileStream::GetPosition()
{
	return m_pFile->GetPosition();
}

inline int CFileStream::GetLength()
{
	return m_pFile->GetLength();
}

inline int CFileStream::BinaryRead(void * buffer, unsigned int size)
{
	return m_pFile->BinaryRead(buffer,size);
}

inline int CFileStream::BinaryWrite(void * buffer, unsigned int size)
{
	return m_pFile->BinaryWrite(buffer,size);
}

inline int CFileStream::Read(char * buffer)
{
	return m_pFile->Read(buffer);
}

inline int CFileStream::Write(char * buffer)
{
	return m_pFile->Write(buffer);
}
